Skip to content

docs: add CC-540 pmctl state prune ticket - #461

Merged
screenleon merged 1 commit into
mainfrom
feat/CC-540
Jul 31, 2026
Merged

docs: add CC-540 pmctl state prune ticket#461
screenleon merged 1 commit into
mainfrom
feat/CC-540

Conversation

@screenleon

Copy link
Copy Markdown
Owner

Summary

  • Adds CC-540 to BACKLOG.md: pmctl state prune for ~/.local/share/pm-dispatch/state/*/runs/, which currently has no retention mechanism (258M+/615 run dirs on this project alone since 2026-06-24).
  • Scopes a summarize-verify-then-delete flow (not plain deletion), driven by an analysis of the existing 615 gate run records that surfaced real signal (qa-tester coverage-gap findings as the dominant NO-GO driver) worth preserving before reclaiming disk space.
  • Key safety requirements: verify appended summary before deleting source, mark incomplete source data explicitly rather than treating it as extraction failure, --dry-run, and a grace period before physical deletion.

Test plan

  • bash pm/scripts/validate.sh BACKLOG.md passes
  • No code changes in this PR — docs/backlog only

🤖 Generated with Claude Code

Analysis of 615 historical gate run records showed no retention
mechanism on ~/.local/share/pm-dispatch/state/*/runs (258M+ per
project, unbounded growth) while also revealing real analytical
signal (qa-tester as dominant NO-GO cause) that a naive prune would
destroy irrecoverably. Ticket scopes a summarize-verify-then-delete
prune flow instead of plain deletion.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@screenleon
screenleon merged commit 745ab4b into main Jul 31, 2026
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant